<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<title>背景属性</title>
		<style type="text/css">
			/*div{
				background-color: salmon;
				height: 500px;
				background-image: url(../img/05.jpg);
				background-repeat:no-repeat;
				background-position: center;
				
			}*/
			
			div{
				height: 500px;
				background: yellowgreen url("img/02.jpeg") no-repeat center ;
			}
		</style>
	</head>
	<body>
		<h2>背景属性</h2>
		<ul>
			<li>背景颜色:background-color</li>
			<li>背景图片:background-image</li>
			<li>背景平铺方式:background-repeat</li>
			<li>背景位置:background-postion</li>
		</ul>
		
		<div>
			div内容
			
		</div>
	</body>
</html>
